(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[633],{77412:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n1),t}),s(e,l(e),n),u&&(n=o(n,7,c));for(var p=t.length;p--;)i(n,t[p]);return n});e.exports=p},29697:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(75068),a=n(81410),s=n(74277),c=n(67294),u=n(98885),l=n(59391),p=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,s.Z)(e,t)})},f=function(e){function t(){for(var t,n=arguments.length,r=Array(n),o=0;o{let{orientation:t,classes:n}=e;return(0,s.Z)({root:["root","".concat(t)],entered:["entered"],hidden:["hidden"],wrapper:["wrapper","".concat(t)],wrapperInner:["wrapperInner","".concat(t)]},x,n)},g=(0,c.ZP)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((0,l.Z)(e=>{let{theme:t}=e;return{height:0,overflow:"hidden",transition:t.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:t.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:e=>{let{ownerState:t}=e;return"exited"===t.state&&!t.in&&"0px"===t.collapsedSize},style:{visibility:"hidden"}}]}})),j=(0,c.ZP)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),E=(0,c.ZP)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),w=r.forwardRef(function(e,t){let n=(0,p.i)({props:e,name:"MuiCollapse"}),{addEndListener:s,children:c,className:l,collapsedSize:h="0px",component:b,easing:x,in:w,onEnter:C,onEntered:Z,onEntering:A,onExit:S,onExited:N,onExiting:k,orientation:R="vertical",style:P,timeout:M=f.x9.standard,TransitionComponent:I=i.ZP,...D}=n,z={...n,orientation:R,collapsedSize:h},F=y(z),O=(0,u.Z)(),U=(0,a.Z)(),B=r.useRef(null),L=r.useRef(),$="number"==typeof h?"".concat(h,"px"):h,T="horizontal"===R,W=T?"width":"height",H=r.useRef(null),_=(0,v.Z)(t,H),G=e=>t=>{if(e){let n=H.current;void 0===t?e(n):e(n,t)}},V=()=>B.current?B.current[T?"clientWidth":"clientHeight"]:0,Q=G((e,t)=>{B.current&&T&&(B.current.style.position="absolute"),e.style[W]=$,C&&C(e,t)}),q=G((e,t)=>{let n=V();B.current&&T&&(B.current.style.position="");let{duration:r,easing:o}=(0,d.C)({style:P,timeout:M,easing:x},{mode:"enter"});if("auto"===M){let t=O.transitions.getAutoHeightDuration(n);e.style.transitionDuration="".concat(t,"ms"),L.current=t}else e.style.transitionDuration="string"==typeof r?r:"".concat(r,"ms");e.style[W]="".concat(n,"px"),e.style.transitionTimingFunction=o,A&&A(e,t)}),J=G((e,t)=>{e.style[W]="auto",Z&&Z(e,t)}),K=G(e=>{e.style[W]="".concat(V(),"px"),S&&S(e)}),X=G(N),Y=G(e=>{let t=V(),{duration:n,easing:r}=(0,d.C)({style:P,timeout:M,easing:x},{mode:"exit"});if("auto"===M){let n=O.transitions.getAutoHeightDuration(t);e.style.transitionDuration="".concat(n,"ms"),L.current=n}else e.style.transitionDuration="string"==typeof n?n:"".concat(n,"ms");e.style[W]=$,e.style.transitionTimingFunction=r,k&&k(e)});return(0,m.jsx)(I,{in:w,onEnter:Q,onEntered:J,onEntering:q,onExit:K,onExited:X,onExiting:Y,addEndListener:e=>{"auto"===M&&U.start(L.current||0,e),s&&s(H.current,e)},nodeRef:H,timeout:"auto"===M?null:M,...D,children:(e,t)=>{let{ownerState:n,...r}=t;return(0,m.jsx)(g,{as:b,className:(0,o.Z)(F.root,l,{entered:F.entered,exited:!w&&"0px"===$&&F.hidden}[e]),style:{[T?"minWidth":"minHeight"]:$,...P},ref:_,ownerState:{...z,state:e},...r,children:(0,m.jsx)(j,{ownerState:{...z,state:e},className:F.wrapper,ref:B,children:(0,m.jsx)(E,{ownerState:{...z,state:e},className:F.wrapperInner,children:c})})})}})});w&&(w.muiSupportAuto=!0);var C=w},52824:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(67294),o=n(90512),i=n(25642),a=n(1801),s=n(49348),c=n(40679),u=n(6870),l=n(9147),p=n(82274),f=n(15927),d=n(33538),v=n(85893);let h=(0,p.Z)(),b=(0,c.Z)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function x(e){return(0,u.Z)({props:e,name:"MuiStack",defaultTheme:h})}let m=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],y=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...(0,f.k9)({theme:t},(0,f.P$)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e}))};if(e.spacing){let r=(0,d.hB)(t),o=Object.keys(t.breakpoints.values).reduce((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t),{}),a=(0,f.P$)({values:e.direction,base:o}),s=(0,f.P$)({values:e.spacing,base:o});"object"==typeof a&&Object.keys(a).forEach((e,t,n)=>{if(!a[e]){let r=t>0?a[n[t-1]]:"column";a[e]=r}}),n=(0,i.Z)(n,(0,f.k9)({theme:t},s,(t,n)=>e.useFlexGap?{gap:(0,d.NA)(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${m(n?a[n]:e.direction)}`]:(0,d.NA)(r,t)}}))}return(0,f.dt)(t.breakpoints,n)};var g=n(26061),j=n(63715),E=function(e={}){let{createStyledComponent:t=b,useThemeProps:n=x,componentName:i="MuiStack"}=e,c=()=>(0,s.Z)({root:["root"]},e=>(0,a.ZP)(i,e),{}),u=t(y);return r.forwardRef(function(e,t){let i=n(e),{component:a="div",direction:s="column",spacing:p=0,divider:f,children:d,className:h,useFlexGap:b=!1,...x}=(0,l.Z)(i),m=c();return(0,v.jsx)(u,{as:a,ownerState:{direction:s,spacing:p,useFlexGap:b},ref:t,className:(0,o.Z)(m.root,h),...x,children:f?function(e,t){let n=r.Children.toArray(e).filter(Boolean);return n.reduce((e,o,i)=>(e.push(o),it.root}),useThemeProps:e=>(0,j.i)({props:e,name:"MuiStack"})})}}]);